|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.Timeline
public abstract class Timeline
A time line, running from t = 0 (start) to t = 1 (deadline).
| Constructor Summary | |
|---|---|
Timeline()
|
|
| Method Summary | |
|---|---|
abstract double |
getCurrentTime()
|
abstract double |
getTime()
Gets the time, running from t = 0 (start) to t = 1 (deadline). |
abstract double |
getTotalTime()
|
negotiator.Timeline.Type |
getType()
|
boolean |
isDeadlineReached()
|
boolean |
isPaused()
|
void |
pause()
Method used to pause the timeline. |
abstract void |
printTime()
Print the current time. |
void |
resume()
Method used to resume the timeline. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Timeline()
| Method Detail |
|---|
public abstract double getTime()
public abstract double getTotalTime()
public abstract double getCurrentTime()
public abstract void printTime()
public boolean isDeadlineReached()
public void pause()
throws java.lang.Exception
java.lang.Exception
public void resume()
throws java.lang.Exception
java.lang.Exceptionpublic negotiator.Timeline.Type getType()
public boolean isPaused()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||